#include "afxwin.h"
#include "afxcmn.h"
#if !defined(AFX_MAININTERFACE_H__003EB6D9_762F_4E00_8B0F_BA052126FDD5__INCLUDED_)
#define AFX_MAININTERFACE_H__003EB6D9_762F_4E00_8B0F_BA052126FDD5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MainInterface.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMainInterface dialog
#include "mmsystem.h"


class CMainInterface : public CDialog
{
// Construction
public:
	CMainInterface(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CMainInterface)
	enum { IDD = IDD_DIALOG_MAIN };
	CListCtrl	m_listCtrlGroup;
	CListCtrl	m_listCtrlstranger;
	CListCtrl	m_listCtrlPal;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainInterface)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	CImageList  *m_imageList;
protected:
	bool	isCheck ;

	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMainInterface)
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	afx_msg void OnButtonStranger();
	afx_msg void OnButtonStranger2();
	afx_msg void OnButtonFriend();
	afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonGroup();
	afx_msg void OnButtonGroup2();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDblclkListGroup(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonAdd();
	
	afx_msg LRESULT UnRecvMessage(WPARAM wParam, LPARAM lParam);	
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	int index;
	CImageList *pImageList;
	CListCtrl *pLC;
	CImageList   m_image; 
	TLogin_Ans_GroupUnit m_group;
	int nItem, nSubItem;
public:
	afx_msg void OnBnClickedCancel();
public:
	void ReFlash();
	afx_msg void OnClose();
public:
	CButton m_b_Group;
public:
	CButton m_b_Group2;
public:
	CButton m_b_Stranger;
public:
	CButton m_b_Stranger2;
public:
	afx_msg void OnNMDblclkListStranger(NMHDR *pNMHDR, LRESULT *pResult);
public:
	CComboBox m_c_State;
public:
	afx_msg void OnCbnSelchangeComboState();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAININTERFACE_H__003EB6D9_762F_4E00_8B0F_BA052126FDD5__INCLUDED_)
